
<?php foreach ($allCategory as $item):?>
<ul>
<li><?php echo $item->id;?></li>
<li><?php echo $item->name;?></li>
</ul>
<?php endforeach;?>
